package com.dh.exception;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class ExceptionDemo02 {
    public static void main(String[] args) throws FileNotFoundException {
        readFile();
    }

    public static void readFile() throws FileNotFoundException {
        FileInputStream inputStream = new FileInputStream("C:\\Users\\Administrator\\Desktop\\2.txt");

    }
}
